Town Editor
PAGE - 2 -
Let's create a simple village - page 2
We will go over a simple map now. Load up the editor and try to create this map. You also have
this map (Map_1.ULT) in the \town_editor\ directory. Load it in now. (File/Import (*.ult))
![]() |
We will first create a AGGRESSIVE monster like a sea creature so we click menu on MODE/NPC MODE. Then NPC/ADD/ADD AGGRO MOB. You will see a guard appear at position 2,2. We will change the guards icon to a sea creature, so find the icon # for a sea creature next. Click on icons and find icons 136,137. These hold the starting and ending animation sequence for the sea monster. Now left click on the guard.
|
We now see this NON talking guard. Click on tile start and replace with 136 and 137 with tile end. Also change the y pos to 24 and x pos to 4
Then hit update. Now a sea creature should be present at the river. All non talking monsters/NPC's have npc_id's of 0
Now we will create a normal talking NPC guard. Click NPC/ADD/Add NPC. You should see a NPC appear at 1,1
Left click on this NPC to pull up his stats window. Change his y pos and x pos to 9,12 respectively and tile start and end 80,81. Click on
update and he should appear right below the entrance to the 'weapons' shop.
![]() |
You will see your changes appear now. You can also see what
this guard says when talked to - job, name health look etc...
He will say "I fight bravely" if asked about WARR (warrior) and also say "Plenty of ORCS up North" when asked about ORCS. He will ask a question when Keyword1 (WARR) is mentioned. He will ask "Are you Brave?" - you reply /y/ - he replies "Good!" or /n/, he replies "Coward!" That's how the dialog works. If you click on KEYWORD1, you get a prompt asking you for a new input. If you select JOB then whenever you ask his JOB, he will ask that question. IMPORTANT - KEYWORD1 and KEYWORD2 MUST BE 4 CHARACTERS LONG!! Click on MOTIONLESS, and you can make this guard follow you, attack you (pointless if a talking NPC) or wander around. etc... Click on UPDATE to make changes. These changes ONLY are for real when you click on FILE/UPDATE (*.ult) Since you can have 16 NPC's like this and another 16 non talking NPC you can see we have made 2 so far. Let's create another guard like him - a clone so to speak. Repeat what you did to create this guard exactly, but place him at position 9,15. He will stay close to the other guard. Let's check his speech. If you left click on him, you will see the generic speech again, so if you want to create the SAME speech as the first guard, assign that speech code to him. Click on COPY ANOTHER TLK and a new window appears with ALL available speeches. You should have 2 available. Select the first guards speech - should be 1 (move slider) When you find the speech, you can select it by clicking on USE THIS TALK. Note - either edit speeches in this window or in the talk selection window. In the previous window, hit UPDATE TEXT to make it stick. |